You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allredirects arcontinue="Barrel_Belly|37353" />
  </query-continue>
  <query>
    <allredirects>
      <r fromid="31616" ns="0" title="Barbarous Thorn Blade" />
      <r fromid="31617" ns="0" title="Barbarous Thorn Blade" />
      <r fromid="31618" ns="0" title="Barbarous Thorn Blade" />
      <r fromid="31613" ns="0" title="Barbarous Thorn Shield" />
      <r fromid="31614" ns="0" title="Barbarous Thorn Shield" />
      <r fromid="31615" ns="0" title="Barbarous Thorn Shield" />
      <r fromid="31432" ns="0" title="Barrel Belly" />
      <r fromid="37350" ns="0" title="Barrel Belly" />
      <r fromid="37351" ns="0" title="Barrel Belly" />
      <r fromid="37352" ns="0" title="Barrel Belly" />
    </allredirects>
  </query>
</api>